public class RectTest {
    public static void main(String[] args) {
        EnhancedRectangle r1 = new EnhancedRectangle(1, 1, 4, 4);    // Create Rect objects
        
	r1.setCenter(6, 6);

        // These lines implicitly call the Rect.toString() method
        System.out.println("CENTER of r1:" + "("  + r1.getCenter().getX() + ", " + r1.getCenter().getY() + ")");
 }   
}
